<template>
  <div class="in">
    <el-table :data="goods" style="width: 95%">
      <el-table-column prop="id" label="序号" width="143"></el-table-column>
      <el-table-column prop="name" label="货品名称" width="143"></el-table-column>
      <el-table-column prop="quantity" label="货品数量" width="143"></el-table-column>
      <el-table-column prop="goodsTypeId" label="货品类型" width="143">
        <template slot-scope="scope">
          <span v-text="scope.row.goodsTypeId"></span>
        </template>
      </el-table-column>
      <el-table-column prop="weight" label="重量(千克)" width="143"></el-table-column>
      <el-table-column prop="totalVolume" label="体积(方)" width="143"></el-table-column>
      <el-table-column prop="cargoBarcode" label="条形编码" width="143"></el-table-column>
      <el-table-column prop="remark" label="备注" width="145"></el-table-column>
    </el-table>
  </div>
</template>
<script>
export default {
  name: 'goods',
  props: ['goods'],
  data() {
    return {}
  }
}
</script>
<style>

</style>
